* {
    padding: 0;
    margin: 0;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

button {
    border: 0;
    cursor: pointer;
}

html, body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-color: #f5f5f5;
}

.notepad {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.notepad .title {
    padding: 20px;
    font-size: 50px;
    font-weight: 400;
    color: red;
}

.main {
    padding: 15px;
    box-shadow: 4px 4px 4px #ccc;
    border-radius: 8px;
    background-color: #fff;
}

.publish {
    display: flex;
    width: 400px;
    height: 40px;
    border: 1px solid red;
    /* border-radius: 10px; */
}

.publish>* {
    height: 100%;
    border: 0;
}

.publish input {
    flex: 2;
    padding: 0 10px;
}

.publish input:focus {
    outline: none;
}

.publish .add {
    flex: 1;
    color: #fff;
    background-color: red;
}

.dsc-list .item {
    display: flex;
    justify-content: space-between;
    padding: 15px 5px;
    border-bottom: 1px solid #ccc;
}

.dsc-list .item:hover .del {
    display: block;
}

.dsc-list .item span:nth-of-type(1) {
    margin-right: 20px;
}

.del {
    display: none;
    cursor: pointer;
}


.footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    color: #444;
    font-size: 14px;
}